<!-- 20210301 -->
<template>
	<view class="image_one_upload_cn" @click="upload">
		<slot></slot>
	</view>
</template>

<script>
	import image from '@/components/hzjc/utils/functions/image.js'
	export default {
		props: {

		},
		methods: {
			//上传一张图片
			upload() {
				image.chooseImageUpload(1).then(res => {
					this.$emit('upload', res)
				})
			},
		}
	}
</script>

<style scoped>

</style>
